home *** CD-ROM | disk | FTP | other *** search
- Path: s02.pavilion.co.uk!usenet
- From: AJRobb@pavilion.co.uk (Andy J Robb)
- Newsgroups: comp.lang.c
- Subject: Re: Conversion between 80 and 64 bit doubles
- Date: Sat, 24 Feb 1996 23:05:02 GMT
- Organization: Pavilion Internet plc
- Message-ID: <4go5h1$sql@s02.pavilion.co.uk>
- References: <4gifto$aaa@news2.deltanet.com>
- NNTP-Posting-Host: poolc50.pavilion.co.uk
- X-Newsreader: Forte Free Agent 1.0.82
-
- fuz@deltanet.com (Scott Ellsworth) wrote:
-
-
- >As part of a project I am working on, I have to convert between
- >an 80 bit double written on a PC to a 64 bit unix number. On
- >most platforms I have seen, this would not be all that hard,
- >since the one time it has come up, the 64 bit platform (Mac PPC) had a
- >conversion routine. This time, it will not be as kind, as the client
- >wants a more general answer. While I might be able to find a conversion
- >routine that will work on his AIX compiler, he has hinted darkly that he
- >will be moving to other compilers as well, and could I please write a
- >general converter?
-
- This is a common problem for any platform that supports AIFF or AIFC
- audio files (these use an 80-bit floating point value for the
- frequency). The Silicon Graphics 4.0.5H included source for this. I
- suggest that you follow this route (look to audio newsgroups).
-
-
- -----BEGIN PGP PUBLIC KEY BLOCK-----
- Version: 2.6.2i
-
- mQCNAy/MpRwAAAEEAOt6uBYqT8yv9EmqNhK8m6v+bYi8QjnGW3Bo6iU1gsMj5pa6
- MHgq99c8deADbE3cbJ6uZS9v5pZE3WCf6HCQjlB5iULA5RZzMdAumd/WUzuL9UT3
- B44D9EqqFIL79FlYb56v4oKFqFp1/J2bIpYUwnUvabGzGjdLrpPl4P16x9sNAAUR
- tCNBbmR5IEogUm9iYiA8QUpSb2JiQHBhdmlsaW9uLmNvLnVrPrQhQW5keSBSb2Ji
- IDxBSlJvYmJAcGF2aWxpb24uY28udWs+
- =/wVD
- -----END PGP PUBLIC KEY BLOCK-----
-
-